package com.cmc.cloud.cmclink.doc.api.document.rep;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 订舱拆分合并详细记录 Base VO，提供给添加、修改、详细的子 VO 使用
 * 如果子 VO 存在差异的字段，请不要添加到这里，影响 Swagger 文档生成
 *
 * @author codegen
 */
@Data
public class SoSplitCombineDetailBaseDto {
    @Schema(description = "申请拆分合并ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "31243")
    @NotNull(message = "申请拆分合并ID不能为空")
    private Long operationId;

    @Schema(description = "原订舱旧ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "11883")
    @NotNull(message = "原订舱旧ID不能为空")
    private Long soId;

    @Schema(description = "新订舱ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "12635")
    @NotNull(message = "新订舱ID不能为空")
    private Long newSoId;
}
